package com.guigu.pojo.design;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author Mr.Zhang
 * @since 2024-12-17
 */
@Data
@TableName("D_LEVEL_SECOND")
public class DLevelSecond implements Serializable {

    private static final long serialVersionUID=1L;

      @TableId(value = "ID", type = IdType.AUTO)
    private Integer id;

    @TableField("SECOND_ID")
    private String secondId;

    @TableField("SECOND_NAME")
    private String secondName;

    @TableField("PARENT_ID")
    private String parentId;

    @TableField(exist = false)
    private DLevelFirst first;

}
